package com.zang.schema.observable.ring;

/**
 * @author Zhang Qiang
 * @Date 2019/8/29 16:06
 */
public class Teacher implements EventListener {

    @Override
    public void heardBell(RingEvent ringEvent) {
        if (ringEvent.getRingSound()){
            System.out.println("teacher true -- " );
        }else {
            System.out.println("teacher false -- ");
        }

    }
}
